#include("/common/layout/bootstrap_form_layout.html")
#@layout()
#define title()
#end
#define head()
#jx_css({file:"plugins/chosen/chosen.min.css"})
<script type="text/javascript" src="#(jxwebpath.js)WdatePicker/WdatePicker.js" ></script>
<script language="javascript">
    seajs.use(["jquery", "jx_msgbox", "jx_check"], function ($, msgbox)
    {
        function onpicked(time) {
            var forTime = time.el.getAttribute("timefor");
            var dateStr = time.cal.getNewDateStr().replace(/-/g, "/");
            var date = new Date(dateStr);
            $("#" + forTime).val(date.getTime());

        }
        window.onpicked = onpicked;


        $("#b_submit").on("click", function ()
        {
            if (!jxCheck.check()) {
                return false;
            }
            msgbox.alert({url: "#(controllerKey)#(action)"},
                    function ()
                    {
                        msgbox.close();
                        returnInfo();
                    });
        });

        $("#b_return").on("click", function ()
        {
            returnInfo();
        });

        function returnInfo()
        {
            location.href = "#(jxwebpath.item)query?code=scorehdQuery";
        }
    });
</script>
#end

#define bodyExt()
class="gray-bg"
#end
#define form()
#include("info.html")
#end

#define formAfter()
<center>
    #jx_button({value:"action.save",class:"btn btn-primary"})&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    #jx_button({value:"action.return",id:"b_return",class:"btn btn-danger"})
</center>
#end



